
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>食尚购App · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../文档/0.文档.html" />
    
    
    <link rel="prev" href="0.项目.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    引言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../html/0.html.html">
            
                <a href="../html/0.html.html">
            
                    
                    HTML
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../html/1.html整体结构.html">
            
                <a href="../html/1.html整体结构.html">
            
                    
                    HTML整体结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../html/2.html代码格式.html">
            
                <a href="../html/2.html代码格式.html">
            
                    
                    HTML代码格式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../html/3.html内容语义.html">
            
                <a href="../html/3.html内容语义.html">
            
                    
                    HTML内容语义
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../css/0.css.html">
            
                <a href="../css/0.css.html">
            
                    
                    CSS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../css/1.css书写规范.html">
            
                <a href="../css/1.css书写规范.html">
            
                    
                    CSS书写规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../css/2.css命名规范.html">
            
                <a href="../css/2.css命名规范.html">
            
                    
                    CSS命名规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../js/0.javascript.html">
            
                <a href="../js/0.javascript.html">
            
                    
                    JavaScript
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../js/1.javascript-es6.html">
            
                <a href="../js/1.javascript-es6.html">
            
                    
                    es6
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../图片规范/图片规范.html">
            
                <a href="../图片规范/图片规范.html">
            
                    
                    图片规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../前端研发流程/前端研发流程.html">
            
                <a href="../前端研发流程/前端研发流程.html">
            
                    
                    前端研发流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="0.项目.html">
            
                <a href="0.项目.html">
            
                    
                    项目
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.7.1" data-path="1.食尚购.html">
            
                <a href="1.食尚购.html">
            
                    
                    食尚购App
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../文档/0.文档.html">
            
                <a href="../文档/0.文档.html">
            
                    
                    文档
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../文档/1.食尚购.html">
            
                <a href="../文档/1.食尚购.html">
            
                    
                    食尚购App
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../文档/2.门店EDI.html">
            
                <a href="../文档/2.门店EDI.html">
            
                    
                    门店EDI
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../文档/3.掌中宝.html">
            
                <a href="../文档/3.掌中宝.html">
            
                    
                    掌中宝
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="../文档/4.食尚购小程序.html">
            
                <a href="../文档/4.食尚购小程序.html">
            
                    
                    食尚购小程序
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >食尚购App</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h3 id="&#x4F7F;&#x7528;wex5&#x6846;&#x67B6;&#x5F00;&#x53D1;&#x7684;&#x9879;&#x76EE;&#x9700;&#x8981;&#x6CE8;&#x610F;&#x4E00;&#x4E0B;&#x51E0;&#x70B9;">&#x4F7F;&#x7528;wex5&#x6846;&#x67B6;&#x5F00;&#x53D1;&#x7684;&#x9879;&#x76EE;&#x9700;&#x8981;&#x6CE8;&#x610F;&#x4E00;&#x4E0B;&#x51E0;&#x70B9;</h3>
<ol>
<li><p>&#x5173;&#x4E8E;&#x56FE;&#x7247;&#x8DEF;&#x5F84;
 &#x4F7F;&#x7528;&#x76F8;&#x5BF9;&#x8DEF;&#x5F84;,&#x56E0;&#x4E3A;&#x751F;&#x4EA7;&#x73AF;&#x5883;&#x9879;&#x76EE;&#x540D;&#x79F0;&#x4F1A;&#x53EF;&#x80FD;&#x53D1;&#x751F;&#x53D8;&#x5316;</p>
</li>
<li><p>&#x5C3D;&#x91CF;&#x4E0D;&#x4F7F;&#x7528;&#x884C;&#x5185;&#x6837;&#x5F0F;</p>
<p> &#x5728;&#x8BBE;&#x8BA1;&#x6A21;&#x5757;&#x5185;&#x8D4B;&#x503C;&#x7684;&#x6837;&#x5F0F;,&#x90FD;&#x4F1A;&#x88AB;&#x6E32;&#x67D3;&#x6210;&#x884C;&#x5185;&#x6837;&#x5F0F;,&#x4E0D;&#x5229;&#x4E8E;&#x7EF4;&#x62A4;,&#x6240;&#x4EE5;&#x5C3D;&#x91CF;&#x5728;css&#x5185;&#x58F0;&#x660E;&#x6837;&#x5F0F;</p>
</li>
<li><p>&#x751F;&#x547D;&#x5468;&#x671F;,&#x65B9;&#x6CD5;&#x7684;&#x58F0;&#x660E;</p>
<p> &#x968F;&#x7740;&#x9879;&#x76EE;&#x8D8A;&#x6765;&#x8D8A;&#x5927;,&#x4E00;&#x4E2A;&#x9875;&#x9762;&#x7684;&#x65B9;&#x6CD5;&#x4F1A;&#x975E;&#x5E38;&#x591A;,&#x5C3D;&#x91CF;&#x505A;&#x5230;&#x628A;onLoad,onParamsReceive&#x7B49;&#x58F0;&#x660E;&#x5468;&#x671F;&#x51FD;&#x6570;&#x58F0;&#x660E;&#x5728;&#x6700;&#x4E0B;&#x9762;, &#x6240;&#x6709;&#x51FD;&#x6570;&#x5343;&#x4E07;&#x4E0D;&#x8981; &#x7528;&#x53CC;&#x51FB;&#x7684;&#x65B9;&#x5F0F;&#x751F;&#x6210;,&#x4E00;&#x5B9A;&#x8981;&#x58F0;&#x660E;&#x6709;&#x610F;&#x4E49;&#x7684;&#x51FD;&#x6570;&#x540D;</p>
<pre><code> // bad
 Model.prototype.btn1click = function(){
     ...
 }
 // good
 Model.prototype.deleteGoods = function(){
 ...
 }
</code></pre></li>
<li>&#x80FD;&#x7528;&#x6570;&#x636E;&#x9A71;&#x52A8;&#x6E32;&#x67D3;&#x89C6;&#x56FE;&#x7684;,&#x5C3D;&#x91CF;&#x4E0D;&#x8981;&#x7528;jquery&#x64CD;&#x4F5C;dom</li>
</ol>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="0.项目.html" class="navigation navigation-prev " aria-label="Previous page: 项目">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../文档/0.文档.html" class="navigation navigation-next " aria-label="Next page: 文档">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"食尚购App","level":"1.7.1","depth":2,"next":{"title":"文档","level":"1.8","depth":1,"path":"文档/0.文档.md","ref":"文档/0.文档.md","articles":[{"title":"食尚购App","level":"1.8.1","depth":2,"path":"文档/1.食尚购.md","ref":"文档/1.食尚购.md","articles":[]},{"title":"门店EDI","level":"1.8.2","depth":2,"path":"文档/2.门店EDI.md","ref":"文档/2.门店EDI.md","articles":[]},{"title":"掌中宝","level":"1.8.3","depth":2,"path":"文档/3.掌中宝.md","ref":"文档/3.掌中宝.md","articles":[]},{"title":"食尚购小程序","level":"1.8.4","depth":2,"path":"文档/4.食尚购小程序.md","ref":"文档/4.食尚购小程序.md","articles":[]}]},"previous":{"title":"项目","level":"1.7","depth":1,"path":"项目/0.项目.md","ref":"项目/0.项目.md","articles":[{"title":"食尚购App","level":"1.7.1","depth":2,"path":"项目/1.食尚购.md","ref":"项目/1.食尚购.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"项目/1.食尚购.md","mtime":"2019-10-12T05:14:42.839Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-02T00:51:07.028Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

